# Contributor: Sören Tempel <soeren+alpine@soeren-tempel.net>
# Maintainer: Bart Ribbers <bribbers@disroot.org>
pkgname=nototools
pkgver=0.2.11
pkgrel=0
pkgdesc="Noto fonts support tools and scripts"
url="https://www.google.com/get/noto/"
arch="noarch"
license="Apache-2.0"
depends="python3"
makedepends="py3-setuptools py3-setuptools_scm"
source="https://pypi.python.org/packages/source/n/notofonttools/notofonttools-$pkgver.tar.gz"
builddir="$srcdir/notofonttools-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install \
		--prefix=/usr \
		--root="$pkgdir"

	mkdir -p "$pkgdir"/usr/share/nototools
	cp -r third_party "$pkgdir"/usr/share/nototools
}

sha512sums="0fff78d04a001a7b14bba10329eb022bdec70a6cc53ca9bceb6224f30d9f65e5839d80fd0c159f41f55b5d38aba20025df1fd396064296d734927fbe6a4aa647  notofonttools-0.2.11.tar.gz"
